package com.mdb.open.epay.domain.po.epay;

import com.baomidou.mybatisplus.annotation.*;
import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 类描述：
 * 电子支付快捷配置实体类
 *
 * @author liuyi
 * @date 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("ep_quickpay_config")
public class EpQuickpayConfig extends DataObjectBase {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品code
     */
    @ApiModelProperty(value = "产品code")
    @TableField("prod_code")
    private String prodCode;

    /**
     * 挂账账户
     */
    @ApiModelProperty(value = "挂账账户")
    @TableField("suspend_acc_no")
    private String suspendAccNo;

    /**
     * 收益账户
     */
    @ApiModelProperty(value = "收益账户")
    @TableField("fee_acc_no")
    private String feeAccNo;

    /**
     * 营销账户
     */
    @ApiModelProperty(value = "营销账户")
    @TableField("market_acc_no")
    private String marketAccNo;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 操作人No
     */
    @ApiModelProperty(value = "操作人No")
    @TableField("opt_user_id")
    private String optUserId;

    /**
     * 操作人name
     */
    @ApiModelProperty(value = "操作人name")
    @TableField("opt_user_name")
    private String optUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 创建者No
     */
    @ApiModelProperty(value = "创建者No")
    @TableField(value = "create_user_id", fill = FieldFill.INSERT)
    private String createUserId;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user_name", fill = FieldFill.INSERT)
    private String createUserName;

}
